package com.rd.student.jiaji.class4.suyan.zrrd.day11;

public class Test {
    /*public static void main(String[] args) {
        /*char c='2';
        int d=c-48;
        System.out.println(d);

         */
        /*==----------------------------------=*/
        /*String str="202";
        int strI=Integer.parseInt(str);
        System.out.println(strI);

         */
        /*               -------------*/
        //int-->Integer
        //装箱
       /* int i=10;
        Integer integer=new Integer(i);
        //Ingeter-->int
        //拆箱
        int ii=integer.intValue();
        //自动装箱
        Integer integer1=10;
        //自动拆箱
        int ii1=integer1;
        System.out.println("int 二进制位数："+Integer.SIZE);
        System.out.println("int 最大数："+Integer.MAX_VALUE);
        System.out.println("int 最小值："+ Integer.MIN_VALUE);
    }
    */
    public static void main(String[] args) {
      /*  Integer i1=10;
        Integer i2=10;
        System.out.println(i1==i2);
        Integer i3=150;
        Integer i4=150;
        System.out.println(i3==i4);
        boolean b1=true;
        boolean b2=true;
        System.out.println(b1==b2);
        
       */
        long l1=100L;
        long l2=100L;
        System.out.println(l1==l2);
        long l3=200L;
        long l4=200L;
        System.out.println(l3==l4);

    }
}
